package com.itheima.test;

public class ForTest2 {
    public static void main(String[] args) throws InterruptedException {
        for (int i = 10; i >= 1; i--) {
            System.out.println("干饭倒计时:" + i + "秒");
            Thread.sleep(1000);
        }
        System.out.println("终于等到了饭点, 干饭人干饭时间!");
    }
}
